package com.company.project.demo;

import org.springframework.beans.factory.annotation.Value;

/**
 * @Author: zhaoqi
 * @Date: 11/6/2019 5:23 PM
 * @Version 1.0
 */

public class Apple {
    @FruitProvider(id = 1, name = "陕西红富士集团", address = "陕西省西安市延安路")
    @Value("123")
    private String appleProvider;


    public void setAppleProvider(String appleProvider) {
        this.appleProvider = appleProvider;
    }
    public String getAppleProvider() {
        return appleProvider;
    }
}

